﻿namespace YDT_SeckillService.Applictions.DTOs
{
    /// <summary>
    /// 秒杀商品数据传输对象
    /// </summary>
    public class SeckillProductDto
    {
        public Guid Id { get; set; }
        /// <summary>秒杀类型</summary>
        public string SeckillType { get; set; } = string.Empty;
        /// <summary>秒杀名称</summary>
        public string SeckillName { get; set; } = string.Empty;
        /// <summary>秒杀URL</summary>
        public string SeckillUrl { get; set; } = string.Empty;
        /// <summary>秒杀价格</summary>
        public decimal SeckillPrice { get; set; }
        /// <summary>秒杀库存</summary>
        public int SeckillStock { get; set; }
        /// <summary>秒杀百分比</summary>
        public string SeckillPercent { get; set; } = string.Empty;
        /// <summary>秒杀时间编号</summary>
        public Guid TimeId { get; set; }
        /// <summary>商品编号</summary>
        public Guid ProductId { get; set; }
        /// <summary>秒杀限制数量</summary>
        public int SeckillLimit { get; set; }
        /// <summary>秒杀描述</summary>
        public string SeckillDescription { get; set; } = string.Empty;
        /// <summary>秒杀是否置顶</summary>
        public bool SeckillIsTop { get; set; }
        /// <summary>秒杀状态</summary>
        public string SeckillStatus { get; set; } = string.Empty;
        /// <summary>创建时间</summary>
        public DateTime CreateTime { get; set; }
        /// <summary>更新时间</summary>
        public DateTime UpdateTime { get; set; }
    }

}
